﻿je_yaluo_reform = {
	icon = "gfx/interface/icons/event_icons/event_skull.dds"

	complete = {
		custom_tooltip = {
			text =  dvg_yaluo_reform_tt
			has_variable = dvg_among_kongsus
			OR = {
				scope:journal_entry = {
					is_goal_complete = yes
				}
				scope:journal_entry = {
					is_goal_complete = no
				}
			}
		}
	}

	fail = {
	}
	
	on_yearly_pulse = {
	}

	on_complete = {
	}

	on_fail = {
	}

	current_value = {
		value = root.var:dvg_yaluo_reform_variable_var
	}

	goal_add_value = {
		add = 8
	}

	progressbar = yes

	weight = 1000
	should_be_pinned_by_default = yes
}

je_one_kongsi = {
	icon = "gfx/interface/icons/event_icons/event_military.dds"
	complete = {
		owns_entire_state_region = STATE_QINGSHUI
		owns_entire_state_region = STATE_GUANSHAN
		owns_entire_state_region = STATE_XINXIANG
		owns_entire_state_region = STATE_YONGLING
		owns_entire_state_region = STATE_ZHENG_HE
		owns_entire_state_region = STATE_WEIHUAI
		owns_entire_state_region = STATE_TAITUNG
	}
	
	fail = {
	}

    on_complete = {
		trigger_event = { id = dvg_zhourao.10 popup = yes }
	}
	
    on_fail = {
	}
	
	weight = 100
	should_be_pinned_by_default = yes
}

je_invade_zhusha = {
	icon = "gfx/interface/icons/event_icons/event_military.dds"
	complete = {
		owns_entire_state_region = STATE_WEIZHOU
		owns_entire_state_region = STATE_JINZHOU
		owns_entire_state_region = STATE_WENCHENG
	}
	
	fail = {
	}

    on_complete = {
		trigger_event = { id = dvg_zhourao.14 popup = yes }
	}
	
    on_fail = {
	}
	
	weight = 100
	should_be_pinned_by_default = yes
}